/**
 * 二级分类接口
 */

import request from "@/utils/request";

// 删除二级分类
export const deleteSecondCategory = (fId) => {
  return request({
    method: "DELETE",
    url: `/secondCategory/${fId}`,
  });
};


// 分页查询二级分类。实现了搜索功能
export const pagingQuery = (params) => {
  return request({
    method: "GET",
    url: "/secondCategory/pagingQuery",
    params
  })
}